Skip to main content

DescribeCustomerGateways

Description

call the DescribeCustomerGateways interface to query the created user gateway.

Request Method

POST

Request Path

/apsara/route/Vpc/DescribeCustomerGateways

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
CustomerGatewayIdBODYstringNovpn-bp1q8bgx4xnkm2ogj****ID of the user gateway.
PageSizeBODYintegerNo10The number of rows per page during paging query, the maximum value is 50, the default value is 10.
PageNumberBODYintegerNo1page number of the list, the default value is 1.
regionIdBODYstringYesNo sample value for this parameter.region id
RegionIdBODYstringYescn-qingdao-env66-d01the region ID where the user gateway is located. you can obtain the region by calling DescribeRegions interface ID.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}